package cqrtplm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 变更目标数据表
 * @TableName RT_CHANGE_TARGET_DATA
 */
@TableName(value ="RT_CHANGE_TARGET_DATA")
@Data
public class RtChangeTargetDataDO implements Serializable {
    /**
     * 变更单号
     */
    private String chgno;

    /**
     * 变更数据类型
     */
    private String chgdatatype;

    /**
     * 变更类型
     */
    private String chgtype;

    /**
     * 变更视图
     */
    private String chgview;

    /**
     * 变更对象编号
     */
    private String beforechgno;

    /**
     * 变更对象名称
     */
    private String beforechgname;

    /**
     * 变更对象类型
     */
    private String beforeobjtype;

    /**
     * 变更对象oid
     */
    private String beforechgoid;

    /**
     * 变更对象otype
     */
    private String beforechgotype;

    /**
     * 变更对象版本
     */
    private String beforechgver;

    /**
     * 变更后对象编号
     */
    private String afterchgno;

    /**
     * 变更后对象名称
     */
    private String afterchgname;

    /**
     * 变更后对象类型
     */
    private String afterobjtype;

    /**
     * 变更后对象oid
     */
    private String afterchgoid;

    /**
     * 变更后对象otype
     */
    private String afterchgotype;

    /**
     * 变更后对象版本
     */
    private String afterchgver;

    /**
     * 变更对象父编码
     */
    private String parentno;

    /**
     * 变更对象父名称
     */
    private String parentname;

    /**
     * 变更父对象类型
     */
    private String parentobjtype;

    /**
     * 变更对象父oid
     */
    private String parentoid;

    /**
     * 变更对象父otype
     */
    private String parentotype;

    /**
     * 变更对象父版本
     */
    private String parentver;

    /**
     * 创建时间（系统自动生成）
     */
    private LocalDateTime createtime;

    /**
     * 创建人
     */
    private String createby;

    private String beforesegmnum;

    private String aftersegmnum;

    private String affectobj;

    private String affectobjtype;

    private String beforecount;

    private String aftercount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 变更单号
     */
    public String getChgno() {
        return chgno;
    }

    /**
     * 变更单号
     */
    public void setChgno(String chgno) {
        this.chgno = chgno;
    }

    /**
     * 变更数据类型
     */
    public String getChgdatatype() {
        return chgdatatype;
    }

    /**
     * 变更数据类型
     */
    public void setChgdatatype(String chgdatatype) {
        this.chgdatatype = chgdatatype;
    }

    /**
     * 变更类型
     */
    public String getChgtype() {
        return chgtype;
    }

    /**
     * 变更类型
     */
    public void setChgtype(String chgtype) {
        this.chgtype = chgtype;
    }

    /**
     * 变更视图
     */
    public String getChgview() {
        return chgview;
    }

    /**
     * 变更视图
     */
    public void setChgview(String chgview) {
        this.chgview = chgview;
    }

    /**
     * 变更对象编号
     */
    public String getBeforechgno() {
        return beforechgno;
    }

    /**
     * 变更对象编号
     */
    public void setBeforechgno(String beforechgno) {
        this.beforechgno = beforechgno;
    }

    /**
     * 变更对象名称
     */
    public String getBeforechgname() {
        return beforechgname;
    }

    /**
     * 变更对象名称
     */
    public void setBeforechgname(String beforechgname) {
        this.beforechgname = beforechgname;
    }

    /**
     * 变更对象类型
     */
    public String getBeforeobjtype() {
        return beforeobjtype;
    }

    /**
     * 变更对象类型
     */
    public void setBeforeobjtype(String beforeobjtype) {
        this.beforeobjtype = beforeobjtype;
    }

    /**
     * 变更对象oid
     */
    public String getBeforechgoid() {
        return beforechgoid;
    }

    /**
     * 变更对象oid
     */
    public void setBeforechgoid(String beforechgoid) {
        this.beforechgoid = beforechgoid;
    }

    /**
     * 变更对象otype
     */
    public String getBeforechgotype() {
        return beforechgotype;
    }

    /**
     * 变更对象otype
     */
    public void setBeforechgotype(String beforechgotype) {
        this.beforechgotype = beforechgotype;
    }

    /**
     * 变更对象版本
     */
    public String getBeforechgver() {
        return beforechgver;
    }

    /**
     * 变更对象版本
     */
    public void setBeforechgver(String beforechgver) {
        this.beforechgver = beforechgver;
    }

    /**
     * 变更后对象编号
     */
    public String getAfterchgno() {
        return afterchgno;
    }

    /**
     * 变更后对象编号
     */
    public void setAfterchgno(String afterchgno) {
        this.afterchgno = afterchgno;
    }

    /**
     * 变更后对象名称
     */
    public String getAfterchgname() {
        return afterchgname;
    }

    /**
     * 变更后对象名称
     */
    public void setAfterchgname(String afterchgname) {
        this.afterchgname = afterchgname;
    }

    /**
     * 变更后对象类型
     */
    public String getAfterobjtype() {
        return afterobjtype;
    }

    /**
     * 变更后对象类型
     */
    public void setAfterobjtype(String afterobjtype) {
        this.afterobjtype = afterobjtype;
    }

    /**
     * 变更后对象oid
     */
    public String getAfterchgoid() {
        return afterchgoid;
    }

    /**
     * 变更后对象oid
     */
    public void setAfterchgoid(String afterchgoid) {
        this.afterchgoid = afterchgoid;
    }

    /**
     * 变更后对象otype
     */
    public String getAfterchgotype() {
        return afterchgotype;
    }

    /**
     * 变更后对象otype
     */
    public void setAfterchgotype(String afterchgotype) {
        this.afterchgotype = afterchgotype;
    }

    /**
     * 变更后对象版本
     */
    public String getAfterchgver() {
        return afterchgver;
    }

    /**
     * 变更后对象版本
     */
    public void setAfterchgver(String afterchgver) {
        this.afterchgver = afterchgver;
    }

    /**
     * 变更对象父编码
     */
    public String getParentno() {
        return parentno;
    }

    /**
     * 变更对象父编码
     */
    public void setParentno(String parentno) {
        this.parentno = parentno;
    }

    /**
     * 变更对象父名称
     */
    public String getParentname() {
        return parentname;
    }

    /**
     * 变更对象父名称
     */
    public void setParentname(String parentname) {
        this.parentname = parentname;
    }

    /**
     * 变更父对象类型
     */
    public String getParentobjtype() {
        return parentobjtype;
    }

    /**
     * 变更父对象类型
     */
    public void setParentobjtype(String parentobjtype) {
        this.parentobjtype = parentobjtype;
    }

    /**
     * 变更对象父oid
     */
    public String getParentoid() {
        return parentoid;
    }

    /**
     * 变更对象父oid
     */
    public void setParentoid(String parentoid) {
        this.parentoid = parentoid;
    }

    /**
     * 变更对象父otype
     */
    public String getParentotype() {
        return parentotype;
    }

    /**
     * 变更对象父otype
     */
    public void setParentotype(String parentotype) {
        this.parentotype = parentotype;
    }

    /**
     * 变更对象父版本
     */
    public String getParentver() {
        return parentver;
    }

    /**
     * 变更对象父版本
     */
    public void setParentver(String parentver) {
        this.parentver = parentver;
    }

    /**
     * 创建时间（系统自动生成）
     */
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    /**
     * 创建时间（系统自动生成）
     */
    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    /**
     * 创建人
     */
    public String getCreateby() {
        return createby;
    }

    /**
     * 创建人
     */
    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public String getBeforesegmnum() {
        return beforesegmnum;
    }

    public void setBeforesegmnum(String beforesegmnum) {
        this.beforesegmnum = beforesegmnum;
    }

    public String getAftersegmnum() {
        return aftersegmnum;
    }

    public void setAftersegmnum(String aftersegmnum) {
        this.aftersegmnum = aftersegmnum;
    }

    public String getAffectobj() {
        return affectobj;
    }

    public void setAffectobj(String affectobj) {
        this.affectobj = affectobj;
    }

    public String getAffectobjtype() {
        return affectobjtype;
    }

    public void setAffectobjtype(String affectobjtype) {
        this.affectobjtype = affectobjtype;
    }

    public String getBeforecount() {
        return beforecount;
    }

    public void setBeforecount(String beforecount) {
        this.beforecount = beforecount;
    }

    public String getAftercount() {
        return aftercount;
    }

    public void setAftercount(String aftercount) {
        this.aftercount = aftercount;
    }

    public RtChangeTargetDataDO(String chgno, String chgdatatype, String chgtype, String chgview, String beforechgno,
                                String beforechgname, String beforeobjtype, String beforechgoid, String beforechgotype,
                                String beforechgver, String afterchgno, String afterchgname, String afterobjtype,
                                String afterchgoid, String afterchgotype, String afterchgver, String parentno,
                                String parentname, String parentobjtype, String parentoid, String parentotype,
                                String parentver, String createby,String beforesegmnum,String aftersegmnum) {
        this.beforesegmnum = beforesegmnum;
        this.aftersegmnum = aftersegmnum;
        this.chgno = chgno;
        this.chgdatatype = chgdatatype;
        this.chgtype = chgtype;
        this.chgview = chgview;
        this.beforechgno = beforechgno;
        this.beforechgname = beforechgname;
        this.beforeobjtype = beforeobjtype;
        this.beforechgoid = beforechgoid;
        this.beforechgotype = beforechgotype;
        this.beforechgver = beforechgver;
        this.afterchgno = afterchgno;
        this.afterchgname = afterchgname;
        this.afterobjtype = afterobjtype;
        this.afterchgoid = afterchgoid;
        this.afterchgotype = afterchgotype;
        this.afterchgver = afterchgver;
        this.parentno = parentno;
        this.parentname = parentname;
        this.parentobjtype = parentobjtype;
        this.parentoid = parentoid;
        this.parentotype = parentotype;
        this.parentver = parentver;
        this.createby = createby;
    }

    public RtChangeTargetDataDO(String chgno, String chgdatatype, String chgtype, String chgview, String beforechgno, String afterchgno, String parentno) {
        this.chgno = chgno;
        this.chgdatatype = chgdatatype;
        this.chgtype = chgtype;
        this.chgview = chgview;
        this.beforechgno = beforechgno;
        this.afterchgno = afterchgno;
        this.parentno = parentno;
    }

}